<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>员工列表的修改页面</title>

 <script type="text/javascript" src="/bsc/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="/bsc/static/common/bootstrap/js/bootstrap/js/bootstrap.min.js"></script>
	<link rel="stylesheet" type="text/css" href="/bsc/static/common/bootstrap/js/bootstrap/css/bootstrap.min.css" >
	<script type="text/javascript" src="/bsc/static/common/bootstrapvaildator/js/bootstrapValidator.min.js"></script>
	<script type="text/javascript" src="/bsc/static/common/bootstrapvaildator/js/language/zh_CN.js"></script>


</head>
<body  style="margin: 30px;">
<div class="container">
   <center>
<form method="post" action="/bsc/bis_shop_user/update" name="form" enctype="multipart/form-data" id="form">
<input type="hidden" name="shop_user_id" value="${bis_Shop_User.shop_user_id}">
<table border="1" width="90%" rules="all" align="center">
<tr>
<td style="height:100px "  align="center">
<div class="form-group">
    <label for="shop_user_id">员工账号:</label>
    </div>
</td> 
<td><div class="form-group"><input type="text" name="account" value="${bis_Shop_User.account}" class="form-control"></div></td>
<td  align="center">
<div class="form-group">
    <label for="photo">头像:</label>
    </div>
</td> 
<td><div class="form-group">
<input type="hidden"name="photoname" value="${bis_Shop_User.photo }">
<img alt="" src="/bsc${bis_Shop_User.photo }" width="100" height="80">
<input type="file" name="file" class="form-control">
</div></td>
</tr>

<tr>
<td align="center">
   <div class="form-group">
    <label for="username">姓名:</label>
    </div>
</td> 
<td><div class="form-group"><input type="text" name="username" value="${bis_Shop_User.username}" class="form-control"></div></td>
<td align="center">
    <div class="form-group">
    <label for="work_number">工号:</label>
    </div> 
</td> 
<td><div class="form-group"><input type="text" name="work_number" value="${bis_Shop_User.work_number}" class="form-control"></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="password">密码:</label>
    </div>
</td> 
<td><div class="form-group"><input type="password" name="password" value="${bis_Shop_User.password }" class="form-control"></div></td>
<td align="center">
    <div class="form-group">
    <label for="pwd">确认密码:</label>
    </div>
</td> 
<td><div class="form-group"><input type="password" name="pwd" class="form-control"></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="sex">性别:</label>
    </div>
</td>
<td><div class="form-group"><select name="sex" id="sex" class="form-control">
<option value="0">保密</option>
<option value="1">男</option>
<option value="2">女</option>
</select></div></td>
<td align="center">
    <div class="form-group">
    <label for="status">用户状态:</label>
    </div>
</td> 
<td><div class="form-group"><select name="status" id="status" class="form-control">
<option value="0">离职</option>
<option value="1">在职</option>
</select></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="bis_Shopshop_id.shop_id">店铺名称:</label>
    </div>
</td> 
<td><div class="form-group"><select name="bis_Shopshop_id.shop_id" id="shop_id" class="form-control">
<c:forEach items="${listbis_shop }" var="bis_shop">
<option value="${bis_shop.shop_id }">${bis_shop.shop_name }</option>
</c:forEach>
</select></div></td>
<td align="center">
    <div class="form-group">
    <label for="bis_shop_postpost_code.post_code">职位:</label>
    </div>
</td> 
<td><div class="form-group"><select name="bis_shop_postpost_code.post_code" id="post_code"  class="form-control">
<c:forEach items="${listbis_shop_post }" var="bis_shop_post">
<option value="${bis_shop_post.post_code }">${bis_shop_post.post_name}</option>
</c:forEach>
</select></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="mobile">手机:</label>
    </div>
</td> 
<td><div class="form-group"><input type="text" name="mobile" value="${bis_Shop_User.mobile }" class="form-control"></div></td>
<td  align="center">
    <div class="form-group">
    <label for="idno">身份证:</label>
    </div>
</td>  
<td><div class="form-group"><input type="text" name="idno" value="${bis_Shop_User.idno}" class="form-control"></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="电话:">电话:</label>
    </div>
</td> 
<td><div class="form-group"><input type="text" name="phone" value="${bis_Shop_User.phone}" class="form-control"></div></td>
<td align="center">
    <div class="form-group">
    <label for="email">邮箱:</label>
    </div>
</td> 
<td><div class="form-group"><input type="text" name="email" value="${bis_Shop_User.email}" class="form-control"></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="born_date">出生日期:</label>
    </div>
</td> 
<td><div class="form-group"><input type="date" name="born_date" value="${bis_Shop_User.born_date }" class="form-control"></div></td>
<td align="center">
    <div class="form-group">
    <label for="entry_date">入职日期:</label>
    </div>
</td> 
<td><div class="form-group"><input type="date" name="entry_date" value="${bis_Shop_User.entry_date}" class="form-control"></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="linkman">紧急联系人:</label>
    </div>
</td> 
<td><div class="form-group"><input type="text" name="linkman" value="${bis_Shop_User.linkman }" class="form-control"></div></td>
<td align="center">
    <div class="form-group">
    <label for="linkphone">紧急联系电话:</label>
    </div>
</td> 
<td><div class="form-group"><input type="text" name="linkphone" value="${bis_Shop_User.linkphone}" class="form-control"></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="address">居住地址:</label>
    </div>
</td>  
<td colspan="3"><div class="form-group"><input type="text" name="address" value="${bis_Shop_User.address }" class="form-control"></div></td>
</tr>

<tr>
<td align="center">
    <div class="form-group">
    <label for="remark">备注:</label>
    </div>
</td> 
<td colspan="3"><div class="form-group"><input type="text" name="remark" value="${bis_Shop_User.remark }" class="form-control"></div></td>
</tr>

</table>
<div align="right" style=" padding-right:115px ; padding-top:10px ;"><input type="submit" style="width: 80px ;height: 30px " value="保  存"></div>
</form>
</center>
   </div>
</body>
<script type="text/javascript" src="/bsc/static/js/jquery.min.js"></script>
<script type="text/javascript">
 $(function() {
	$("#sex").val(${bis_Shop_User.sex});
	$("#status").val(${bis_Shop_User.status});
	$("#shop_id").val(${bis_Shop_User.bis_Shopshop_id.shop_id});
	$("#post_code").val(${bis_Shop_User.bis_shop_postpost_code.post_code});
})
</script>
</html>